package com.liangsui.mss.service.impl;

import com.liangsui.mss.domain.WorkLoad;
import com.liangsui.mss.domain.WorkLoadStat;
import com.liangsui.mss.dto.WorkloadQueryDto;
import com.liangsui.mss.mapper.WorkLoadMapper;
import com.liangsui.mss.service.WorkLoadService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
* @author zhang
* @description 针对表【statistics_work_load】的数据库操作Service实现
* @createDate 2022-12-07 14:51:46
*/
@DubboService
public class WorkLoadServiceImpl implements WorkLoadService{
    @Autowired
    private WorkLoadMapper workloadMapper;

    @Override
    public List<WorkLoad> queryWorkload(WorkloadQueryDto workloadQueryDto) {
        return this.workloadMapper.queryWorkload(workloadQueryDto);
    }

    @Override
    public List<WorkLoadStat> queryWorkloadStat(WorkloadQueryDto workloadQueryDto) {
        return this.workloadMapper.queryWorkloadStat(workloadQueryDto);
    }
}




